<!DOCTYPE html>
<html>

<head>
    <title>Gift Barrage</title>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <style>
        .barrage {
            position: absolute;
            top: 0;
            left: 100%;
            white-space: nowrap;
        }
    </style>
</head>

<body>
    <div class="barrage">Gift: 🎁 Thank you!</div>

    <script>
        $(document).ready(function () {
            function moveBarrage() {
                $('.barrage').animate({ left: '-100%' }, 5000, 'linear', function () {
                    $(this).css('left', '100%');
                    moveBarrage();
                });
            }

            moveBarrage();
        });
    </script>
</body>

</html>